
using AiQiuQuan.Sport.Model.Enums;

namespace AiQiuQuan.Sport.Model.Models
{
    /// <summary>
    /// 约球用户dto
    /// </summary>
    public class BallUserDto : BaseDto
    {
        /// <summary>
        /// 约球ID
        /// </summary>
        public Guid BallId { get; set; }

        /// <summary>
        /// 业务ID
        /// </summary>
        public Guid BusinessId { get; set; }

        /// <summary>
        /// 用户
        /// </summary>
        public Guid UserId { get; set; }

        /// <summary>
        /// 订单ID
        /// </summary>
        public Guid GameOrderId { get; set; }

        /// <summary>
        /// 报名状态：1报名中、2已报名、5已拒绝、9已取消
        /// </summary>
        public GameJoinStateEnum JoinState { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public PayOrderStateEnum PayState { get; set; }

        /// <summary>
        /// 报名日期
        /// </summary>
        public DateTimeOffset JoinDate { get; set; }

        /// <summary>
        /// 添加人
        /// </summary>
        public Guid JoinUserId { get; set; }

        /// <summary>
        /// 用户code
        /// </summary>
        public int? UserCode { get; set; }

        /// <summary>
        /// 用户名称
        /// </summary>
        public string? UserName { get; set; }

        /// <summary>
        /// 头像
        /// </summary>
        public string? UserHeadUrl { get; set; }

        /// <summary>
        /// 用户网球水平
        /// </summary>
        public string? UserTennisLevel { get; set; }

        /// <summary>
        /// 添加人code
        /// </summary>
        public int? JoinUserCode { get; set; }

        /// <summary>
        /// 支付金额
        /// </summary>
        public decimal? PayAmount { get; set; }

        /// <summary>
        /// 退款金额
        /// </summary>
        public decimal? RefundAmount { get; set; }
    }
}
